package com.example.bibuproject.service

import android.content.ComponentName
import android.content.ServiceConnection
import android.os.IBinder

class AppoperationServiceConnect: ServiceConnection {

    var binder : BackgroundService.ServiceBinder ?= null

    override fun onServiceConnected(name: ComponentName?, service: IBinder) {

        binder = service as BackgroundService.ServiceBinder

    }

    override fun onServiceDisconnected(name: ComponentName) {
        binder = null

    }
}